<template class="container">
    <div style="background-color: #ff0000; color: #00ff00; font-size:20px; height: 40px; line-height: 40px;">
        hello world
    </div>
</template>

<style>
.container {
    width: 100%;
    height: 100%;
}
</style>